<!-- 搜索框及工具条 -->
<div class="c-head-box">
    <form method="get" action="{:Url('bank_list')}">
        <ul>
            <li class="c-head-search">
                <!-- 搜索条件 -->
                <ul>
                    <li><span>银行编号：</span><input type="text" name="bank_id" value="{$bank_id}"/></li>
                    <li><span>银行名称：</span><input type="text" name="bank_name" value="{$bank_name}"/></li>
                    <li><span>银行类型：</span>{:widget('common/Select/select',array('bank_type_id',array($bank_type_list,'bank_type_id','bank_type_name'),$bank_type_id))}</li>
                    <li><span>是否支持信用卡：</span>{:widget('common/Select/select',array('is_credit','is_credit',$is_credit))}</li>
                    <li><span>是否有房贷：</span>{:widget('common/Select/select',array('is_house','is_yes',$is_house))}</li>
                    <li><span>是否热门：</span>{:widget('common/Select/select',array('is_hot','is_hot',$is_hot))}</li>
                </ul>
            </li>
            <li class="c-head-button">
                <!-- 操作按钮 -->
                <div class="fr"><input type="submit" class="but_blue" value="搜索"></div>
                <div class="fr"><a class="but_blue" href="{:Url('bank_add')}">添加银行</a></div>
            </li>
        </ul>
    </form>
</div>

<!--用户列表-->
<div class="lists-tab-cont">
    <div class="lists-table">
        <table class="pointer" cellpadding="0" cellspacing="0" border="0">
            <thead>
                <tr>
                    <th style="width: 5%" class="tabSort-header"><a class="tabSort-header-inner"><p>银行编号</p></a></th>
                    <th style="width: 5%" class="tabSort-header"><a class="tabSort-header-inner"><p>银行图标</p></a></th>
                    <th style="width: 10%" class="tabSort-header"><a class="tabSort-header-inner"><p>银行类型</p></a></th>
                    <th style="width: 10%" class="tabSort-header"><a class="tabSort-header-inner"><p>银行名称</p></a></th>
                    <th style="width: 25%" class="tabSort-header"><a class="tabSort-header-inner"><p>银行概要</p></a></th>
                    <th style="width: 5%" class="tabSort-header"><a class="tabSort-header-inner"><p>进度查询</p></a></th>
                    <th style="width: 6%" class="tabSort-header"><a class="tabSort-header-inner"><p>是否存在信用卡</p></a></th>
                    <th style="width: 5%" class="tabSort-header"><a class="tabSort-header-inner"><p>是否有房贷</p></a></th>
                    <th style="width: 6%" class="tabSort-header"><a class="tabSort-header-inner"><p>是否热门</p></a></th>
                    <th style="width: 6%" class="tabSort-header"><a class="tabSort-header-inner"><p>排序</p></a></th>
                    <th class="tabSort-header"><a class="tabSort-header-inner"><p>操作</p></a></th>
                </tr>
            </thead>
            <tbody>
                {foreach name="bank_list" item="info"}
                    <tr>
                        <td title="{$info.bank_id}">{$info.bank_id}</td>
                        <td title="{$info.bank_url}">{:widget('common/Images/img',array($info["bank_url"],30,25))}</td>
                        <td title="{$info.bank_type_name}">{$info.bank_type_name}</td>
                        <td title="{$info.bank_name}">{$info.bank_name}</td>
                        <td title="{$info.bank_outline}">{$info.bank_outline}</td>
                        <td>{empty name="info['credit_schedule_url']" value="1"}--{else/}<a target="_blank" href="{$info['credit_schedule_url']}">进度查询</a>{/empty}</td>
                        <td>{:widget('common/Color/color',array('is_credit',$info['is_credit']))}</td>
                        <td>{:widget('common/Color/color',array('is_yes',$info['is_house']))}</td>
                        <td>{:widget('common/Color/color',array('is_hot',$info['is_hot']))}</td>
                        <td title="{$info.order_by}">{$info.order_by}</td>
                        <td>
                            <!--<a href="{:Url('bank_website_list',array('bank_type_id'=>$info['bank_type_id'],'bank_id'=>$info['bank_id']))}" class="blue">网点</a>-->
                            <a href="{:Url('bank_edit',array('bank_id'=>$info['bank_id']))}" class="blue">编辑</a>
                            {eq name="info.is_delete" value="1"}
                                <a href="{:Url('bank_del',array('bank_id'=>$info['bank_id']))}" class="blue">删除</a>
                                {else/}
                                <a href="{:Url('bank_recycle',array('bank_id'=>$info['bank_id']))}"><font color="red">还原</font></a>
                            {/eq}
                        </td>
                    </tr>
                {/foreach}
            </tbody>
        </table>
    </div>

    <!-- 翻页模板 -->
    <div class="page">
        {$Think.config.page_html}
    </div>
</div>
